package net.xdclasss.demo_project.service.impl;

import net.xdclasss.demo_project.domain.Video;
import net.xdclasss.demo_project.mapper.VideoMapper;
import net.xdclasss.demo_project.service.VideoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VideoServiceImpl implements VideoService {
    @Autowired
    private VideoMapper videoMapper;
    @Override
    public List<Video> list() {
        List<Video> list = videoMapper.listVideo();
        return list;
    }
}
